<?php /* Smarty version 2.6.18, created on 2011-03-31 16:36:24
         compiled from alumni/classmate/view_profile.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'alumni/classmate/view_profile.tpl', 77, false),)), $this); ?>
<div id="solvay_content2010">
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "alumni/public/left_menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<script type="text/javascript">
		function recommendProfile(p_intId)
		{
			callAJAX('xoad_handler', 'recommend', $H({mb_id: p_intId}), recommendProfile_callBack);
		}
		var recommendProfile_callBack = function recommendProfile_callBack(results)
		{
			if (results == 0)
				return;
			if ( results == 1 )
				alert("Action successfully!");
			else if ( results )
				alert("Action unsuccessfully!");
		}
	</script>
  <div id="content2010_right">
    <div class="ctn_contentright2010">
      <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "alumni/public/top_menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
      <div class="content_tab">
        <div class="title_contenttab">
          <table cellpadding="0" cellspacing="0" border="0" width="100%">
              <tr>
                  <td align="left"></td>
                    <td align="right" style="padding:5px 0px;">
                    <?php if ($this->_tpl_vars['MEMBER_LOGIN']): ?>
                    <input type="button" name="" class="btn_recommend2010" value="Recommend" onClick="javascript:recommendProfile(<?php echo $this->_tpl_vars['arrMemberPersonal']['mb_id']; ?>
)" />
                    <?php endif; ?>
                    </td>
                </tr>
            </table>
       </div>
       <div class="ctn_texttab">
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
          <tr>
            <td width="190">
            	<img src="<?php echo @APPLICATION_URL; ?>
public/css/img/solvay2010_imgright_avatar170x180.png" width="170" height="180" style="background:url(<?php echo @APPLICATION_URL; ?>
images/avatar/<?php echo $this->_tpl_vars['arrMemberPersonal']['avatar']; ?>
) no-repeat center top" alt="" />
            </td>
            <td valign="top">
              <table cellpadding="0" cellspacing="0" border="0" width="100%">
                <tr>
                    <td class="text_14">Full name: <strong><?php echo $this->_tpl_vars['arrMemberPersonal']['full_name']; ?>
</strong> (<?php if ($this->_tpl_vars['arrMemberPersonal']['gender'] == 0): ?>male<?php else: ?>female<?php endif; ?>)</td>
                </tr>
               <tr>
                    <td height="15"></td>
                </tr>
                <?php if ($this->_tpl_vars['MEMBER_LOGIN'] && $this->_tpl_vars['arrMemberPersonal']['status'] == 1): ?>
                <tr>
                    <td  class="text_14"><?php echo $this->_tpl_vars['arrMemberContact']['address']; ?>
, <?php echo $this->_tpl_vars['arrMemberContact']['location_name']; ?>
, Vietnam</td>
                </tr> 
                
                <tr>
                    <td height="15" class="text_13_bg"></td>
                </tr>
                <?php endif; ?>
                <tr>
                    <td  class="text_14"><strong><?php echo $this->_tpl_vars['arrMemberPersonal']['recommended']; ?>
</strong> recommended</td>
                </tr> 
                
            	</table>
            </td>
         	</tr>
          <tr>
          	<td colspan="2" height="10"></td>
         	</tr>
          <tr>
          	<td width="190" class="text_13">Intake</td>
            <td class="text_13"><?php echo $this->_tpl_vars['arrMemberPersonal']['intake_name']; ?>
</td>
         	</tr>
          
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13_bg">Date of birth</td>
              <td class="text_13_bg"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrMemberPersonal']['dob'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d-%m-%Y") : smarty_modifier_date_format($_tmp, "%d-%m-%Y")); ?>
</td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13">Place of birth</td>
              <td class="text_13"><?php echo $this->_tpl_vars['arrMemberPersonal']['location_name']; ?>
</td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <?php if ($this->_tpl_vars['MEMBER_LOGIN'] && $this->_tpl_vars['arrMemberPersonal']['status'] == 1): ?>
          <tr>
            <td width="190" class="text_13_bg">Private Email</td>
              <td class="text_13_bg"><?php if ($this->_tpl_vars['arrMemberContact']['private_email'] == ''): ?>[empty]<?php else: ?><?php echo $this->_tpl_vars['arrMemberContact']['private_email']; ?>
<?php endif; ?></td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13">Business Email</td>
              <td class="text_13">
              	<a href="#" class="link_mail"><?php if ($this->_tpl_vars['arrMemberContact']['business_email'] == ''): ?>[empty]<?php else: ?><?php echo $this->_tpl_vars['arrMemberContact']['business_email']; ?>
<?php endif; ?></a>
              </td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13_bg">Private Tel</td>
              <td class="text_13_bg"><?php if ($this->_tpl_vars['arrMemberContact']['private_tel'] == ''): ?>[empty]<?php else: ?><?php echo $this->_tpl_vars['arrMemberContact']['private_tel']; ?>
<?php endif; ?></td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13">Business Tel</td>
              <td class="text_13"><?php if ($this->_tpl_vars['arrMemberContact']['business_tel'] == ''): ?>[empty]<?php else: ?><?php echo $this->_tpl_vars['arrMemberContact']['business_tel']; ?>
<?php endif; ?></td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13_bg">Company (ToS)</td>
              <td class="text_13_bg"><?php echo $this->_tpl_vars['arrMemberPersonal']['company_tos']; ?>
</td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" class="text_13">Position (ToS)</td>
              <td class="text_13"><?php echo $this->_tpl_vars['arrMemberPersonal']['position_tos']; ?>
</td>
          </tr>
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" valign="top">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                    <tr>
                        <td class="text_13_bg">Current positions</td>
                      </tr> 
               </table>
              </td>
              <td valign="top">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                		<?php $_from = $this->_tpl_vars['arrMemberCurrentPosition']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['nameCP'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nameCP']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['keyCP'] => $this->_tpl_vars['itemCP']):
        $this->_foreach['nameCP']['iteration']++;
?>
                    <tr>
                      <td class="text_13_bg"> + <?php echo $this->_tpl_vars['itemCP']['title']; ?>
 at <?php echo $this->_tpl_vars['itemCP']['company']; ?>
</td>
                    </tr> 
                    <tr>
                      <td class="text_13">(<?php echo $this->_tpl_vars['itemCP']['industry_name']; ?>
)</td>
                    </tr> 
                   	<?php endforeach; endif; unset($_from); ?>
                  </table>
             </td>
          </tr>
            
          <tr>
            <td colspan="2" height="10"></td>
          </tr>
          <tr>
            <td width="190" valign="top">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                    <tr>
                        <td class="text_13_bg">Past positions</td>
                      </tr> 
               </table>
              </td>
              <td valign="top">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">	
                		<?php $_from = $this->_tpl_vars['arrMemberPastPosition']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['namePP'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['namePP']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['keyPP'] => $this->_tpl_vars['itemPP']):
        $this->_foreach['namePP']['iteration']++;
?>
                    <tr>
                    	<td class="text_13_bg">+  From <?php echo ((is_array($_tmp=$this->_tpl_vars['itemPP']['date_from'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%Y") : smarty_modifier_date_format($_tmp, "%d/%m/%Y")); ?>
 to <?php echo ((is_array($_tmp=$this->_tpl_vars['itemPP']['date_to'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%Y") : smarty_modifier_date_format($_tmp, "%d/%m/%Y")); ?>
</td>
                   	</tr> 
                    <tr>
                    	<td class="text_13">
                      	<?php echo $this->_tpl_vars['itemPP']['title']; ?>
 at <?php echo $this->_tpl_vars['itemPP']['company']; ?>
<br />
                        (<?php echo $this->_tpl_vars['itemPP']['industry_name']; ?>
)
                     	</td>
                    </tr> 
                    <?php endforeach; endif; unset($_from); ?>
                  </table>
             </td>
          </tr>
          <?php endif; ?>
        </table>
            
        <div class="note_bottom">* ToS : Time of study</div>
    	</div>
    </div>
 	</div>
</div>

</div>